.class public Lcom/waiqin365/base/calendar/views/WeekView;
.super Landroid/view/View;


# instance fields
.field private A:I

.field private B:I

.field private C:I

.field private D:I

.field private E:I

.field private F:I

.field private G:I

.field private H:I

.field private I:I

.field private J:I

.field private K:I

.field private L:I

.field private M:I

.field private N:I

.field private O:I

.field private P:I

.field private Q:I

.field private R:I

.field private S:I

.field private T:F

.field private U:F

.field private V:F

.field private W:F

.field private Z:I

.field protected a:Landroid/graphics/Paint;

.field private aa:I

.field private ab:Z

.field private ac:Z

.field private ad:Z

.field private ae:Z

.field private af:Z

.field private ag:Ljava/util/Map;

.field private ah:Ljava/util/Map;

.field private ai:Ljava/util/List;

.field protected b:Landroid/graphics/Paint;

.field protected c:Landroid/graphics/Paint;

.field protected d:Landroid/graphics/Paint;

.field private final e:[[Landroid/graphics/Region;

.field private final f:[[Lcom/waiqin365/base/calendar/c/a;

.field private final g:[[Lcom/waiqin365/base/calendar/c/a;

.field private final h:[[Lcom/waiqin365/base/calendar/c/a;

.field private final i:Ljava/util/Map;

.field private j:Lcom/waiqin365/base/calendar/a/a/a;

.field private k:Lcom/waiqin365/base/calendar/a/c/c;

.field private l:Ljava/util/HashMap;

.field private m:Landroid/widget/Scroller;

.field private n:Landroid/view/animation/DecelerateInterpolator;

.field private o:Landroid/view/animation/AccelerateInterpolator;

.field private p:Lcom/waiqin365/base/calendar/views/p;

.field private q:Lcom/waiqin365/base/calendar/views/e;

.field private r:Lcom/waiqin365/base/calendar/views/o;

.field private s:Lcom/waiqin365/base/calendar/views/q;

.field private t:Lcom/waiqin365/base/calendar/b/a;

.field private u:Lcom/waiqin365/base/calendar/views/r;

.field private v:Lcom/waiqin365/base/calendar/a/b/a;

.field private w:Lcom/waiqin365/base/calendar/c/a;

.field private x:I

.field private y:I

.field private z:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/waiqin365/base/calendar/views/WeekView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lcom/waiqin365/base/calendar/views/WeekView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 7

    const/4 v6, 0x1

    const/4 v5, 0x0

    const/4 v4, 0x5

    const/16 v3, 0x45

    const/4 v2, 0x7

    invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/4 v0, 0x6

    filled-new-array {v0, v2}, [I

    move-result-object v0

    const-class v1, Landroid/graphics/Region;

    invoke-static {v1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [[Landroid/graphics/Region;

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->e:[[Landroid/graphics/Region;

    const/4 v0, 0x4

    filled-new-array {v0, v2}, [I

    move-result-object v0

    const-class v1, Lcom/waiqin365/base/calendar/c/a;

    invoke-static {v1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [[Lcom/waiqin365/base/calendar/c/a;

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->f:[[Lcom/waiqin365/base/calendar/c/a;

    filled-new-array {v4, v2}, [I

    move-result-object v0

    const-class v1, Lcom/waiqin365/base/calendar/c/a;

    invoke-static {v1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [[Lcom/waiqin365/base/calendar/c/a;

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->g:[[Lcom/waiqin365/base/calendar/c/a;

    const/4 v0, 0x6

    filled-new-array {v0, v2}, [I

    move-result-object v0

    const-class v1, Lcom/waiqin365/base/calendar/c/a;

    invoke-static {v1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [[Lcom/waiqin365/base/calendar/c/a;

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->h:[[Lcom/waiqin365/base/calendar/c/a;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->i:Ljava/util/Map;

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->j:Lcom/waiqin365/base/calendar/a/a/a;

    invoke-static {}, Lcom/waiqin365/base/calendar/a/c/c;->a()Lcom/waiqin365/base/calendar/a/c/c;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->b:Landroid/graphics/Paint;

    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->c:Landroid/graphics/Paint;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->l:Ljava/util/HashMap;

    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->d:Landroid/graphics/Paint;

    new-instance v0, Landroid/view/animation/DecelerateInterpolator;

    invoke-direct {v0}, Landroid/view/animation/DecelerateInterpolator;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->n:Landroid/view/animation/DecelerateInterpolator;

    new-instance v0, Landroid/view/animation/AccelerateInterpolator;

    invoke-direct {v0}, Landroid/view/animation/AccelerateInterpolator;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->o:Landroid/view/animation/AccelerateInterpolator;

    sget-object v0, Lcom/waiqin365/base/calendar/b/a;->b:Lcom/waiqin365/base/calendar/b/a;

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->t:Lcom/waiqin365/base/calendar/b/a;

    iput v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iput v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->aa:I

    iput-boolean v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ac:Z

    iput-boolean v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ad:Z

    iput-boolean v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ae:Z

    iput-boolean v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->af:Z

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ag:Ljava/util/Map;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ah:Ljava/util/Map;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ai:Ljava/util/List;

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xb

    if-lt v0, v1, :cond_0

    new-instance v0, Lcom/waiqin365/base/calendar/views/q;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/base/calendar/views/q;-><init>(Lcom/waiqin365/base/calendar/views/WeekView;Lcom/waiqin365/base/calendar/views/l;)V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->s:Lcom/waiqin365/base/calendar/views/q;

    :cond_0
    new-instance v0, Landroid/widget/Scroller;

    invoke-direct {v0, p1}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    sget-object v1, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/base/calendar/views/WeekView;)Lcom/waiqin365/base/calendar/views/e;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->q:Lcom/waiqin365/base/calendar/views/e;

    return-object v0
.end method

.method private a(FF)Lcom/waiqin365/base/calendar/views/n;
    .locals 4

    const/4 v1, 0x0

    new-instance v0, Landroid/graphics/drawable/shapes/OvalShape;

    invoke-direct {v0}, Landroid/graphics/drawable/shapes/OvalShape;-><init>()V

    invoke-virtual {v0, v1, v1}, Landroid/graphics/drawable/shapes/OvalShape;->resize(FF)V

    new-instance v1, Landroid/graphics/drawable/ShapeDrawable;

    invoke-direct {v1, v0}, Landroid/graphics/drawable/ShapeDrawable;-><init>(Landroid/graphics/drawable/shapes/Shape;)V

    new-instance v0, Lcom/waiqin365/base/calendar/views/n;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/base/calendar/views/n;-><init>(Lcom/waiqin365/base/calendar/views/WeekView;Landroid/graphics/drawable/ShapeDrawable;)V

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/calendar/views/n;->a(F)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/base/calendar/views/n;->b(F)V

    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0xb

    if-ge v2, v3, :cond_0

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->x:I

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/calendar/views/n;->a(I)V

    :cond_0
    invoke-virtual {v1}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v2}, Lcom/waiqin365/base/calendar/a/c/c;->c()I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setColor(I)V

    return-object v0
.end method

.method private a(Landroid/graphics/Canvas;IIII)V
    .locals 7

    const/4 v1, 0x0

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    int-to-float v0, p2

    int-to-float v2, p3

    invoke-virtual {p1, v0, v2}, Landroid/graphics/Canvas;->translate(FF)V

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->j:Lcom/waiqin365/base/calendar/a/a/a;

    invoke-virtual {v0, p4, p5}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->e:[[Landroid/graphics/Region;

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->h:[[Lcom/waiqin365/base/calendar/c/a;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/calendar/views/WeekView;->a([[Lcom/waiqin365/base/calendar/c/a;)V

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->h:[[Lcom/waiqin365/base/calendar/c/a;

    invoke-direct {p0, v2, v0}, Lcom/waiqin365/base/calendar/views/WeekView;->a([[Lcom/waiqin365/base/calendar/c/a;[[Lcom/waiqin365/base/calendar/c/a;)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v4

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    array-length v5, v4

    if-lt v0, v5, :cond_0

    move v0, v1

    :goto_0
    array-length v5, v4

    add-int/lit8 v5, v5, -0x1

    aget-object v5, v4, v5

    array-length v5, v5

    if-ge v0, v5, :cond_1

    aget-object v5, v3, v1

    aget-object v5, v5, v0

    invoke-virtual {v5}, Landroid/graphics/Region;->getBounds()Landroid/graphics/Rect;

    move-result-object v5

    array-length v6, v4

    add-int/lit8 v6, v6, -0x1

    aget-object v6, v2, v6

    aget-object v6, v6, v0

    invoke-direct {p0, p1, v5, v6}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    move v0, v1

    :goto_1
    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    aget-object v5, v4, v5

    array-length v5, v5

    if-ge v0, v5, :cond_1

    aget-object v5, v3, v1

    aget-object v5, v5, v0

    invoke-virtual {v5}, Landroid/graphics/Region;->getBounds()Landroid/graphics/Rect;

    move-result-object v5

    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    aget-object v6, v2, v6

    aget-object v6, v6, v0

    invoke-direct {p0, p1, v5, v6}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_1
    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;Landroid/graphics/Rect;)V
    .locals 5

    const/high16 v4, 0x3f800000    # 1.0f

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->c:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->e()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->c:Landroid/graphics/Paint;

    sget-object v1, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->c:Landroid/graphics/Paint;

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, v4}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v0

    int-to-float v0, v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x40800000    # 4.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    sub-int/2addr v1, v2

    int-to-float v1, v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x41900000    # 18.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-static {v3, v4}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v3

    sub-int/2addr v2, v3

    int-to-float v2, v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->c:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V
    .locals 4

    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/base/calendar/views/WeekView;->c(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V

    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/base/calendar/views/WeekView;->d(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V

    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/base/calendar/views/WeekView;->e(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V

    iget-boolean v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ac:Z

    if-eqz v0, :cond_0

    iget-object v0, p3, Lcom/waiqin365/base/calendar/c/a;->b:Ljava/lang/String;

    iget-boolean v1, p3, Lcom/waiqin365/base/calendar/c/a;->i:Z

    invoke-direct {p0, p1, p2, v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;Landroid/graphics/Rect;Ljava/lang/String;Z)V

    :cond_0
    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/base/calendar/views/WeekView;->f(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V

    const/4 v0, 0x1

    :try_start_0
    iget-object v1, p3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    :goto_0
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    iget v2, p3, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v3, p3, Lcom/waiqin365/base/calendar/c/a;->d:I

    add-int/lit8 v3, v3, -0x1

    invoke-virtual {v1, v2, v3, v0}, Ljava/util/Calendar;->set(III)V

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->l:Ljava/util/HashMap;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->l:Ljava/util/HashMap;

    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string/jumbo v3, "yyyyMMdd"

    invoke-direct {v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/base/calendar/views/WeekView;->b(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V

    :cond_1
    return-void

    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method private a(Landroid/graphics/Canvas;Landroid/graphics/Rect;Ljava/lang/String;Z)V
    .locals 7

    const/4 v5, 0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->U:F

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setTextSize(F)V

    if-eqz p4, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->g()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    :goto_0
    const-string/jumbo v0, "&"

    invoke-virtual {p3, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "&"

    invoke-virtual {p3, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v1, v0, v3

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v2, v1}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v2

    invoke-virtual {p2}, Landroid/graphics/Rect;->width()I

    move-result v4

    int-to-float v4, v4

    cmpl-float v2, v2, v4

    if-lez v2, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v0, v1, v3, v5}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;II)F

    move-result v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->width()I

    move-result v2

    int-to-float v2, v2

    div-float v0, v2, v0

    float-to-int v0, v0

    invoke-virtual {v1, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v3

    int-to-float v3, v3

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v4

    int-to-float v4, v4

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->V:F

    add-float/2addr v4, v5

    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v2, v3, v4, v5}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    invoke-virtual {v1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v2

    int-to-float v2, v2

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->W:F

    add-float/2addr v2, v3

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    :cond_0
    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->j()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    goto :goto_0

    :cond_2
    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v2

    int-to-float v2, v2

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v3

    int-to-float v3, v3

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->V:F

    add-float/2addr v3, v4

    iget-object v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    aget-object v0, v0, v5

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v1, v0}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v1

    invoke-virtual {p2}, Landroid/graphics/Rect;->width()I

    move-result v2

    int-to-float v2, v2

    cmpg-float v1, v1, v2

    if-gez v1, :cond_0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v2

    int-to-float v2, v2

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->W:F

    add-float/2addr v2, v3

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v0, p3}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->width()I

    move-result v1

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_5

    const/4 v1, 0x0

    invoke-virtual {p3}, Ljava/lang/String;->toCharArray()[C

    move-result-object v4

    array-length v5, v4

    move v2, v3

    :goto_2
    if-ge v2, v5, :cond_4

    aget-char v0, v4, v2

    iget-object v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-static {v0}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v6, v0}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v0

    cmpl-float v6, v0, v1

    if-lez v6, :cond_6

    :goto_3
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    move v1, v0

    goto :goto_2

    :cond_4
    invoke-virtual {p2}, Landroid/graphics/Rect;->width()I

    move-result v0

    int-to-float v0, v0

    div-float/2addr v0, v1

    float-to-int v0, v0

    invoke-virtual {p3, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v2

    int-to-float v2, v2

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v3

    int-to-float v3, v3

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->V:F

    add-float/2addr v3, v4

    iget-object v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    invoke-virtual {p3, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v2

    int-to-float v2, v2

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->W:F

    add-float/2addr v2, v3

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    goto/16 :goto_1

    :cond_5
    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v0

    int-to-float v0, v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v1

    int-to-float v1, v1

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->V:F

    add-float/2addr v1, v2

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, p3, v0, v1, v2}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    goto/16 :goto_1

    :cond_6
    move v0, v1

    goto :goto_3
.end method

.method private a(Landroid/graphics/Canvas;Landroid/graphics/Rect;Z)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->i()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    if-eqz p3, :cond_0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v0

    int-to-float v0, v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x40800000    # 4.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    sub-int/2addr v1, v2

    int-to-float v1, v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x41900000    # 18.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    int-to-float v2, v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    :cond_0
    return-void
.end method

.method private a([[Lcom/waiqin365/base/calendar/c/a;)V
    .locals 4

    array-length v1, p1

    const/4 v0, 0x0

    :goto_0
    if-ge v0, v1, :cond_0

    aget-object v2, p1, v0

    const/4 v3, 0x0

    invoke-static {v2, v3}, Ljava/util/Arrays;->fill([Ljava/lang/Object;Ljava/lang/Object;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method private a([[Lcom/waiqin365/base/calendar/c/a;[[Lcom/waiqin365/base/calendar/c/a;)[[Lcom/waiqin365/base/calendar/c/a;
    .locals 5

    const/4 v1, 0x0

    move v0, v1

    :goto_0
    array-length v2, p2

    if-ge v0, v2, :cond_0

    aget-object v2, p1, v0

    aget-object v3, p2, v0

    aget-object v4, p2, v0

    array-length v4, v4

    invoke-static {v2, v1, v3, v1, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return-object p2
.end method

.method static synthetic b(Lcom/waiqin365/base/calendar/views/WeekView;)Lcom/waiqin365/base/calendar/views/o;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->r:Lcom/waiqin365/base/calendar/views/o;

    return-object v0
.end method

.method private b(II)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->getFinalX()I

    move-result v0

    sub-int v0, p1, v0

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getFinalY()I

    move-result v1

    sub-int v1, p2, v1

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->c(II)V

    return-void
.end method

.method private b(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget v0, v0, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v1, p3, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget v0, v0, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget v1, p3, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    iget-object v1, p3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->d:Landroid/graphics/Paint;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->d:Landroid/graphics/Paint;

    sget-object v1, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v0

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v1

    const/high16 v2, 0x40a00000    # 5.0f

    invoke-static {v1, v2}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v1

    add-int/2addr v0, v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v1

    const/high16 v2, 0x40c00000    # 6.0f

    invoke-static {v1, v2}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v1

    sub-int/2addr v0, v1

    int-to-float v0, v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->V:F

    add-float/2addr v0, v1

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x40000000    # 2.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    int-to-float v2, v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->d:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v0, v2, v3}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->d:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->c()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    goto :goto_0
.end method

.method private b(Landroid/graphics/Canvas;Landroid/graphics/Rect;Z)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->k()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    if-eqz p3, :cond_0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v0

    int-to-float v0, v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x40800000    # 4.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    sub-int/2addr v1, v2

    int-to-float v1, v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x41900000    # 18.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    int-to-float v2, v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    :cond_0
    return-void
.end method

.method static synthetic c(Lcom/waiqin365/base/calendar/views/WeekView;)Ljava/util/Map;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ah:Ljava/util/Map;

    return-object v0
.end method

.method private c(II)V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getFinalX()I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v2}, Landroid/widget/Scroller;->getFinalY()I

    move-result v2

    const/16 v5, 0x1f4

    move v3, p1

    move v4, p2

    invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    return-void
.end method

.method private c(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget v0, v0, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v1, p3, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget v0, v0, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget v1, p3, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    iget-object v1, p3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->b:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->c()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->b:Landroid/graphics/Paint;

    sget-object v1, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v0

    int-to-float v0, v0

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x40800000    # 4.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    sub-int/2addr v1, v2

    int-to-float v1, v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x41900000    # 18.0f

    invoke-static {v2, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v2

    int-to-float v2, v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->b:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    :cond_0
    return-void
.end method

.method private d()V
    .locals 3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->i:Ljava/util/Map;

    invoke-interface {v1, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->i:Ljava/util/Map;

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v1, v0, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    return-void
.end method

.method private d(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    if-eqz v0, :cond_0

    iget-boolean v0, p3, Lcom/waiqin365/base/calendar/c/a;->k:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, p1, p2, v1, v2}, Lcom/waiqin365/base/calendar/a/b/a;->f(Landroid/graphics/Canvas;Landroid/graphics/Rect;Landroid/graphics/Paint;Ljava/lang/String;)V

    :cond_0
    iget-boolean v0, p3, Lcom/waiqin365/base/calendar/c/a;->f:Z

    if-eqz v0, :cond_2

    iget-boolean v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ae:Z

    if-eqz v0, :cond_2

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;Landroid/graphics/Rect;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-boolean v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ad:Z

    if-eqz v0, :cond_3

    iget-boolean v0, p3, Lcom/waiqin365/base/calendar/c/a;->e:Z

    invoke-direct {p0, p1, p2, v0}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;Landroid/graphics/Rect;Z)V

    :cond_3
    iget-boolean v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->af:Z

    if-eqz v0, :cond_1

    iget-boolean v0, p3, Lcom/waiqin365/base/calendar/c/a;->j:Z

    invoke-direct {p0, p1, p2, v0}, Lcom/waiqin365/base/calendar/views/WeekView;->b(Landroid/graphics/Canvas;Landroid/graphics/Rect;Z)V

    goto :goto_0
.end method

.method private e()V
    .locals 3

    const/16 v2, 0xc

    const/4 v1, 0x1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->C:I

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->E:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->F:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->D:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-ne v0, v2, :cond_0

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->E:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->E:I

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->F:I

    :cond_0
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-ne v0, v1, :cond_1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->C:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->C:I

    iput v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->D:I

    :cond_1
    return-void
.end method

.method private e(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V
    .locals 4

    const/high16 v3, 0x40800000    # 4.0f

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->T:F

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget v0, v0, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v1, p3, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget v0, v0, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget v1, p3, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    iget-object v1, p3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    :goto_0
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v1, p3, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v0, v1, :cond_0

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v1, p3, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-eq v0, v1, :cond_0

    :cond_0
    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v0

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v1

    sub-int/2addr v0, v1

    int-to-float v0, v0

    iget-boolean v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ac:Z

    if-nez v1, :cond_1

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerY()I

    move-result v0

    int-to-float v0, v0

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v1}, Landroid/graphics/Paint;->ascent()F

    move-result v1

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    add-float/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v1}, Landroid/graphics/Paint;->descent()F

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v2}, Landroid/graphics/Paint;->ascent()F

    move-result v2

    sub-float/2addr v1, v2

    const/high16 v2, 0x40000000    # 2.0f

    div-float/2addr v1, v2

    sub-float/2addr v0, v1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, v3}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v1

    int-to-float v1, v1

    sub-float/2addr v0, v1

    :cond_1
    iget-object v1, p3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {p2}, Landroid/graphics/Rect;->centerX()I

    move-result v2

    int-to-float v2, v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2, v0, v3}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    return-void

    :cond_2
    iget-boolean v0, p3, Lcom/waiqin365/base/calendar/c/a;->g:Z

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->h()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    goto :goto_0

    :cond_3
    iget-boolean v0, p3, Lcom/waiqin365/base/calendar/c/a;->f:Z

    if-eqz v0, :cond_4

    iget-boolean v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ae:Z

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->d()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v1}, Lcom/waiqin365/base/calendar/a/c/c;->f()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    goto/16 :goto_0
.end method

.method private f(Landroid/graphics/Canvas;Landroid/graphics/Rect;Lcom/waiqin365/base/calendar/c/a;)V
    .locals 6

    iget-object v0, p3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "-"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "-"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    if-eqz v1, :cond_0

    iget-boolean v1, p3, Lcom/waiqin365/base/calendar/c/a;->l:Z

    if-eqz v1, :cond_0

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    iget v1, p2, Landroid/graphics/Rect;->left:I

    iget v2, p2, Landroid/graphics/Rect;->top:I

    iget v3, p2, Landroid/graphics/Rect;->left:I

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    add-int/2addr v3, v4

    iget v4, p2, Landroid/graphics/Rect;->top:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    add-int/2addr v4, v5

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->clipRect(IIII)Z

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    invoke-virtual {p1}, Landroid/graphics/Canvas;->getClipBounds()Landroid/graphics/Rect;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v1, p1, v2, v3, v0}, Lcom/waiqin365/base/calendar/a/b/a;->a(Landroid/graphics/Canvas;Landroid/graphics/Rect;Landroid/graphics/Paint;Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    if-eqz v1, :cond_1

    iget-boolean v1, p3, Lcom/waiqin365/base/calendar/c/a;->m:Z

    if-eqz v1, :cond_1

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    iget v1, p2, Landroid/graphics/Rect;->left:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    add-int/2addr v1, v2

    iget v2, p2, Landroid/graphics/Rect;->top:I

    iget v3, p2, Landroid/graphics/Rect;->left:I

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->J:I

    add-int/2addr v3, v4

    iget v4, p2, Landroid/graphics/Rect;->top:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    add-int/2addr v4, v5

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->clipRect(IIII)Z

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    invoke-virtual {p1}, Landroid/graphics/Canvas;->getClipBounds()Landroid/graphics/Rect;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v1, p1, v2, v3, v0}, Lcom/waiqin365/base/calendar/a/b/a;->b(Landroid/graphics/Canvas;Landroid/graphics/Rect;Landroid/graphics/Paint;Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    if-eqz v1, :cond_2

    iget-boolean v1, p3, Lcom/waiqin365/base/calendar/c/a;->n:Z

    if-eqz v1, :cond_2

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    iget v1, p2, Landroid/graphics/Rect;->left:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->J:I

    add-int/2addr v1, v2

    iget v2, p2, Landroid/graphics/Rect;->top:I

    iget v3, p2, Landroid/graphics/Rect;->left:I

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->K:I

    add-int/2addr v3, v4

    iget v4, p2, Landroid/graphics/Rect;->top:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    add-int/2addr v4, v5

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->clipRect(IIII)Z

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    invoke-virtual {p1}, Landroid/graphics/Canvas;->getClipBounds()Landroid/graphics/Rect;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v1, p1, v2, v3, v0}, Lcom/waiqin365/base/calendar/a/b/a;->c(Landroid/graphics/Canvas;Landroid/graphics/Rect;Landroid/graphics/Paint;Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    if-eqz v1, :cond_3

    iget-boolean v1, p3, Lcom/waiqin365/base/calendar/c/a;->o:Z

    if-eqz v1, :cond_3

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    iget v1, p2, Landroid/graphics/Rect;->left:I

    iget v2, p2, Landroid/graphics/Rect;->top:I

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    add-int/2addr v2, v3

    iget v3, p2, Landroid/graphics/Rect;->left:I

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    add-int/2addr v3, v4

    iget v4, p2, Landroid/graphics/Rect;->top:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->J:I

    add-int/2addr v4, v5

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->clipRect(IIII)Z

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    invoke-virtual {p1}, Landroid/graphics/Canvas;->getClipBounds()Landroid/graphics/Rect;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v1, p1, v2, v3, v0}, Lcom/waiqin365/base/calendar/a/b/a;->d(Landroid/graphics/Canvas;Landroid/graphics/Rect;Landroid/graphics/Paint;Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    if-eqz v1, :cond_4

    iget-boolean v1, p3, Lcom/waiqin365/base/calendar/c/a;->p:Z

    if-eqz v1, :cond_4

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    iget v1, p2, Landroid/graphics/Rect;->left:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->J:I

    add-int/2addr v1, v2

    iget v2, p2, Landroid/graphics/Rect;->top:I

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    add-int/2addr v2, v3

    iget v3, p2, Landroid/graphics/Rect;->left:I

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->K:I

    add-int/2addr v3, v4

    iget v4, p2, Landroid/graphics/Rect;->top:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->J:I

    add-int/2addr v4, v5

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->clipRect(IIII)Z

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    invoke-virtual {p1}, Landroid/graphics/Canvas;->getClipBounds()Landroid/graphics/Rect;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v1, p1, v2, v3, v0}, Lcom/waiqin365/base/calendar/a/b/a;->e(Landroid/graphics/Canvas;Landroid/graphics/Rect;Landroid/graphics/Paint;Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_4
    return-void
.end method


# virtual methods
.method public a()V
    .locals 6

    const/4 v5, 0x1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    add-int/lit8 v0, v0, 0x1

    rem-int/lit8 v0, v0, 0xd

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-nez v0, :cond_0

    iput v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->d()V

    invoke-direct {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->e()V

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getFinalX()I

    move-result v1

    sub-int v3, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getFinalY()I

    move-result v1

    sub-int v4, v0, v1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getFinalX()I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v2}, Landroid/widget/Scroller;->getFinalY()I

    move-result v2

    invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->N:I

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->requestLayout()V

    return-void
.end method

.method public a(II)V
    .locals 11

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->j:Lcom/waiqin365/base/calendar/a/a/a;

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->e:[[Landroid/graphics/Region;

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    array-length v1, v2

    if-lt v0, v1, :cond_0

    array-length v0, v2

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    :cond_0
    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    aget-object v0, v2, v0

    array-length v0, v0

    if-ge v1, v0, :cond_d

    const/4 v0, 0x0

    aget-object v0, v2, v0

    aget-object v3, v0, v1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->j:Lcom/waiqin365/base/calendar/a/a/a;

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v4, v5}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    aget-object v0, v0, v4

    aget-object v0, v0, v1

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    :goto_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_2
    invoke-virtual {v3, p1, p2}, Landroid/graphics/Region;->contains(II)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->i:Ljava/util/Map;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ":"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v0, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iget-object v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->t:Lcom/waiqin365/base/calendar/b/a;

    sget-object v5, Lcom/waiqin365/base/calendar/b/a;->a:Lcom/waiqin365/base/calendar/b/a;

    if-ne v4, v5, :cond_5

    iget-object v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ag:Ljava/util/Map;

    invoke-interface {v4}, Ljava/util/Map;->clear()V

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->j:Lcom/waiqin365/base/calendar/a/a/a;

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v4, v5}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    aget-object v0, v0, v4

    aget-object v0, v0, v1

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, "."

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, "."

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3}, Landroid/graphics/Region;->getBounds()Landroid/graphics/Rect;

    move-result-object v5

    invoke-virtual {v5}, Landroid/graphics/Rect;->centerX()I

    move-result v5

    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    iget v7, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    mul-int/2addr v6, v7

    add-int/2addr v5, v6

    int-to-float v5, v5

    invoke-virtual {v3}, Landroid/graphics/Region;->getBounds()Landroid/graphics/Rect;

    move-result-object v3

    invoke-virtual {v3}, Landroid/graphics/Rect;->centerY()I

    move-result v3

    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v7, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int/2addr v6, v7

    add-int/2addr v3, v6

    int-to-float v3, v3

    invoke-direct {p0, v5, v3}, Lcom/waiqin365/base/calendar/views/WeekView;->a(FF)Lcom/waiqin365/base/calendar/views/n;

    move-result-object v3

    sget v5, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v6, 0xb

    if-lt v5, v6, :cond_3

    const-string/jumbo v5, "radius"

    const/4 v6, 0x2

    new-array v6, v6, [I

    const/4 v7, 0x0

    const/4 v8, 0x0

    aput v8, v6, v7

    const/4 v7, 0x1

    iget v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->x:I

    aput v8, v6, v7

    invoke-static {v3, v5, v6}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v5

    const-wide/16 v6, 0xa

    invoke-virtual {v5, v6, v7}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    iget-object v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->n:Landroid/view/animation/DecelerateInterpolator;

    invoke-virtual {v5, v6}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    iget-object v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->s:Lcom/waiqin365/base/calendar/views/q;

    invoke-virtual {v5, v6}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    new-instance v6, Landroid/animation/AnimatorSet;

    invoke-direct {v6}, Landroid/animation/AnimatorSet;-><init>()V

    const/4 v7, 0x1

    new-array v7, v7, [Landroid/animation/Animator;

    const/4 v8, 0x0

    aput-object v5, v7, v8

    invoke-virtual {v6, v7}, Landroid/animation/AnimatorSet;->playSequentially([Landroid/animation/Animator;)V

    new-instance v5, Lcom/waiqin365/base/calendar/views/l;

    invoke-direct {v5, p0, v0}, Lcom/waiqin365/base/calendar/views/l;-><init>(Lcom/waiqin365/base/calendar/views/WeekView;Lcom/waiqin365/base/calendar/c/a;)V

    invoke-virtual {v6, v5}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    invoke-virtual {v6}, Landroid/animation/AnimatorSet;->start()V

    :cond_3
    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ag:Ljava/util/Map;

    invoke-interface {v5, v4, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    sget v3, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v4, 0xb

    if-ge v3, v4, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->q:Lcom/waiqin365/base/calendar/views/e;

    if-eqz v3, :cond_4

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->q:Lcom/waiqin365/base/calendar/views/e;

    invoke-interface {v3, v0}, Lcom/waiqin365/base/calendar/views/e;->a(Lcom/waiqin365/base/calendar/c/a;)V

    :cond_4
    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->r:Lcom/waiqin365/base/calendar/views/o;

    if-eqz v3, :cond_1

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->r:Lcom/waiqin365/base/calendar/views/o;

    invoke-interface {v3, v0}, Lcom/waiqin365/base/calendar/views/o;->b(Lcom/waiqin365/base/calendar/c/a;)V

    goto/16 :goto_1

    :cond_5
    iget-object v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->t:Lcom/waiqin365/base/calendar/b/a;

    sget-object v5, Lcom/waiqin365/base/calendar/b/a;->b:Lcom/waiqin365/base/calendar/b/a;

    if-ne v4, v5, :cond_a

    invoke-interface {v0, v3}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_7

    invoke-interface {v0, v3}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    :goto_2
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v4, "-"

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v4, "-"

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->j:Lcom/waiqin365/base/calendar/a/a/a;

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v4, v5, v6}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v4

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    aget-object v4, v4, v5

    aget-object v4, v4, v1

    iget-object v4, v4, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ai:Ljava/util/List;

    invoke-interface {v0, v4}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ai:Ljava/util/List;

    invoke-interface {v0, v4}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ag:Ljava/util/Map;

    invoke-interface {v0, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/calendar/views/n;

    sget v3, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v5, 0xb

    if-lt v3, v5, :cond_6

    const-string/jumbo v3, "radius"

    const/4 v5, 0x2

    new-array v5, v5, [I

    const/4 v6, 0x0

    iget v7, p0, Lcom/waiqin365/base/calendar/views/WeekView;->x:I

    aput v7, v5, v6

    const/4 v6, 0x1

    const/4 v7, 0x0

    aput v7, v5, v6

    invoke-static {v0, v3, v5}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v3

    const-wide/16 v6, 0xfa

    invoke-virtual {v3, v6, v7}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->o:Landroid/view/animation/AccelerateInterpolator;

    invoke-virtual {v3, v5}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->s:Lcom/waiqin365/base/calendar/views/q;

    invoke-virtual {v3, v5}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    new-instance v5, Lcom/waiqin365/base/calendar/views/m;

    invoke-direct {v5, p0, v4}, Lcom/waiqin365/base/calendar/views/m;-><init>(Lcom/waiqin365/base/calendar/views/WeekView;Ljava/lang/String;)V

    invoke-virtual {v3, v5}, Landroid/animation/ValueAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    invoke-virtual {v3}, Landroid/animation/ValueAnimator;->start()V

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ah:Ljava/util/Map;

    invoke-interface {v3, v4, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ag:Ljava/util/Map;

    invoke-interface {v0, v4}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0xb

    if-ge v0, v3, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    goto/16 :goto_1

    :cond_7
    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_2

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ai:Ljava/util/List;

    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v3}, Landroid/graphics/Region;->getBounds()Landroid/graphics/Rect;

    move-result-object v0

    invoke-virtual {v0}, Landroid/graphics/Rect;->centerX()I

    move-result v0

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    mul-int/2addr v5, v6

    add-int/2addr v0, v5

    int-to-float v0, v0

    invoke-virtual {v3}, Landroid/graphics/Region;->getBounds()Landroid/graphics/Rect;

    move-result-object v3

    invoke-virtual {v3}, Landroid/graphics/Rect;->centerY()I

    move-result v3

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int/2addr v5, v6

    add-int/2addr v3, v5

    int-to-float v3, v3

    invoke-direct {p0, v0, v3}, Lcom/waiqin365/base/calendar/views/WeekView;->a(FF)Lcom/waiqin365/base/calendar/views/n;

    move-result-object v0

    sget v3, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v5, 0xb

    if-lt v3, v5, :cond_9

    const-string/jumbo v3, "radius"

    const/4 v5, 0x2

    new-array v5, v5, [I

    const/4 v6, 0x0

    const/4 v7, 0x0

    aput v7, v5, v6

    const/4 v6, 0x1

    iget v7, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Q:I

    aput v7, v5, v6

    invoke-static {v0, v3, v5}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v3

    const-wide/16 v6, 0xfa

    invoke-virtual {v3, v6, v7}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->n:Landroid/view/animation/DecelerateInterpolator;

    invoke-virtual {v3, v5}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->s:Lcom/waiqin365/base/calendar/views/q;

    invoke-virtual {v3, v5}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    const-string/jumbo v5, "radius"

    const/4 v6, 0x2

    new-array v6, v6, [I

    const/4 v7, 0x0

    iget v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Q:I

    aput v8, v6, v7

    const/4 v7, 0x1

    iget v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->R:I

    aput v8, v6, v7

    invoke-static {v0, v5, v6}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v5

    const-wide/16 v6, 0x64

    invoke-virtual {v5, v6, v7}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    iget-object v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->o:Landroid/view/animation/AccelerateInterpolator;

    invoke-virtual {v5, v6}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    iget-object v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->s:Lcom/waiqin365/base/calendar/views/q;

    invoke-virtual {v5, v6}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    const-string/jumbo v6, "radius"

    const/4 v7, 0x2

    new-array v7, v7, [I

    const/4 v8, 0x0

    iget v9, p0, Lcom/waiqin365/base/calendar/views/WeekView;->R:I

    aput v9, v7, v8

    const/4 v8, 0x1

    iget v9, p0, Lcom/waiqin365/base/calendar/views/WeekView;->S:I

    aput v9, v7, v8

    invoke-static {v0, v6, v7}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v6

    const-wide/16 v8, 0x96

    invoke-virtual {v6, v8, v9}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    iget-object v7, p0, Lcom/waiqin365/base/calendar/views/WeekView;->n:Landroid/view/animation/DecelerateInterpolator;

    invoke-virtual {v6, v7}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    iget-object v7, p0, Lcom/waiqin365/base/calendar/views/WeekView;->s:Lcom/waiqin365/base/calendar/views/q;

    invoke-virtual {v6, v7}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    const-string/jumbo v7, "radius"

    const/4 v8, 0x2

    new-array v8, v8, [I

    const/4 v9, 0x0

    iget v10, p0, Lcom/waiqin365/base/calendar/views/WeekView;->S:I

    aput v10, v8, v9

    const/4 v9, 0x1

    iget v10, p0, Lcom/waiqin365/base/calendar/views/WeekView;->x:I

    aput v10, v8, v9

    invoke-static {v0, v7, v8}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v7

    const-wide/16 v8, 0x32

    invoke-virtual {v7, v8, v9}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    iget-object v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->o:Landroid/view/animation/AccelerateInterpolator;

    invoke-virtual {v7, v8}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    iget-object v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->s:Lcom/waiqin365/base/calendar/views/q;

    invoke-virtual {v7, v8}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    new-instance v8, Landroid/animation/AnimatorSet;

    invoke-direct {v8}, Landroid/animation/AnimatorSet;-><init>()V

    const/4 v9, 0x4

    new-array v9, v9, [Landroid/animation/Animator;

    const/4 v10, 0x0

    aput-object v3, v9, v10

    const/4 v3, 0x1

    aput-object v5, v9, v3

    const/4 v3, 0x2

    aput-object v6, v9, v3

    const/4 v3, 0x3

    aput-object v7, v9, v3

    invoke-virtual {v8, v9}, Landroid/animation/AnimatorSet;->playSequentially([Landroid/animation/Animator;)V

    invoke-virtual {v8}, Landroid/animation/AnimatorSet;->start()V

    :cond_9
    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ag:Ljava/util/Map;

    invoke-interface {v3, v4, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0xb

    if-ge v0, v3, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    goto/16 :goto_1

    :cond_a
    iget-object v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->t:Lcom/waiqin365/base/calendar/b/a;

    sget-object v5, Lcom/waiqin365/base/calendar/b/a;->c:Lcom/waiqin365/base/calendar/b/a;

    if-ne v4, v5, :cond_1

    invoke-interface {v0, v3}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_b

    invoke-interface {v0, v3}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    :goto_3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, "-"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, "-"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->j:Lcom/waiqin365/base/calendar/a/a/a;

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v3, v4, v5}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v3

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    aget-object v3, v3, v4

    aget-object v3, v3, v1

    iget-object v3, v3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ai:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_c

    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ai:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    goto/16 :goto_1

    :cond_b
    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_3

    :cond_c
    iget-object v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ai:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_1

    :cond_d
    return-void
.end method

.method public a(Lcom/waiqin365/base/calendar/c/a;)V
    .locals 12

    const/16 v11, 0xb

    const/4 v2, 0x0

    iget-object v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->e:[[Landroid/graphics/Region;

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v1, v3}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v5

    move v1, v2

    :goto_0
    array-length v0, v5

    if-ge v1, v0, :cond_3

    move v3, v2

    :goto_1
    aget-object v0, v5, v1

    array-length v0, v0

    if-ge v3, v0, :cond_2

    aget-object v0, v5, v1

    aget-object v6, v0, v3

    iget v0, v6, Lcom/waiqin365/base/calendar/c/a;->c:I

    iget v7, p1, Lcom/waiqin365/base/calendar/c/a;->c:I

    if-ne v0, v7, :cond_1

    iget v0, v6, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget v7, p1, Lcom/waiqin365/base/calendar/c/a;->d:I

    if-ne v0, v7, :cond_1

    iget-object v0, v6, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    iget-object v7, p1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    aget-object v0, v4, v1

    aget-object v7, v0, v3

    iput-object v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->i:Ljava/util/Map;

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    iget v9, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string/jumbo v9, ":"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget v9, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-interface {v0, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iget-object v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->t:Lcom/waiqin365/base/calendar/b/a;

    sget-object v9, Lcom/waiqin365/base/calendar/b/a;->a:Lcom/waiqin365/base/calendar/b/a;

    if-ne v8, v9, :cond_1

    iget-object v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ag:Ljava/util/Map;

    invoke-interface {v8}, Ljava/util/Map;->clear()V

    invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    invoke-virtual {v0, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v8, "."

    invoke-virtual {v0, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v8, "."

    invoke-virtual {v0, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v6, v6, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7}, Landroid/graphics/Region;->getBounds()Landroid/graphics/Rect;

    move-result-object v6

    invoke-virtual {v6}, Landroid/graphics/Rect;->centerX()I

    move-result v6

    iget v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    iget v9, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    mul-int/2addr v8, v9

    add-int/2addr v6, v8

    int-to-float v6, v6

    invoke-virtual {v7}, Landroid/graphics/Region;->getBounds()Landroid/graphics/Rect;

    move-result-object v7

    invoke-virtual {v7}, Landroid/graphics/Rect;->centerY()I

    move-result v7

    iget v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v9, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int/2addr v8, v9

    add-int/2addr v7, v8

    int-to-float v7, v7

    invoke-direct {p0, v6, v7}, Lcom/waiqin365/base/calendar/views/WeekView;->a(FF)Lcom/waiqin365/base/calendar/views/n;

    move-result-object v6

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    sget v7, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v7, v11, :cond_0

    const-string/jumbo v7, "radius"

    const/4 v8, 0x2

    new-array v8, v8, [I

    aput v2, v8, v2

    const/4 v9, 0x1

    iget v10, p0, Lcom/waiqin365/base/calendar/views/WeekView;->x:I

    aput v10, v8, v9

    invoke-static {v6, v7, v8}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v7

    const-wide/16 v8, 0xa

    invoke-virtual {v7, v8, v9}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    iget-object v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->n:Landroid/view/animation/DecelerateInterpolator;

    invoke-virtual {v7, v8}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    iget-object v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->s:Lcom/waiqin365/base/calendar/views/q;

    invoke-virtual {v7, v8}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    invoke-virtual {v7}, Landroid/animation/ValueAnimator;->start()V

    :cond_0
    iget-object v7, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ag:Ljava/util/Map;

    invoke-interface {v7, v0, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    if-ge v0, v11, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    :cond_1
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto/16 :goto_1

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_0

    :cond_3
    return-void
.end method

.method public b()V
    .locals 6

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    add-int/lit8 v0, v0, -0x1

    rem-int/lit8 v0, v0, 0xc

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-nez v0, :cond_0

    const/16 v0, 0xc

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->d()V

    invoke-direct {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->e()V

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getFinalX()I

    move-result v1

    sub-int v3, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getFinalY()I

    move-result v1

    sub-int v4, v0, v1

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getFinalX()I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v2}, Landroid/widget/Scroller;->getFinalY()I

    move-result v2

    const/4 v5, 0x1

    invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->N:I

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->requestLayout()V

    return-void
.end method

.method public c()I
    .locals 1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    return v0
.end method

.method public computeScroll()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->computeScrollOffset()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->getCurrX()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getCurrY()I

    move-result v1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->scrollTo(II)V

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    :cond_0
    return-void
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 11

    const/4 v10, 0x6

    const/4 v9, 0x4

    const/4 v8, 0x5

    const/4 v7, 0x0

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->k:Lcom/waiqin365/base/calendar/a/c/c;

    invoke-virtual {v0}, Lcom/waiqin365/base/calendar/a/c/c;->b()I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->drawColor(I)V

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    if-ne v0, v8, :cond_2

    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    add-int/lit8 v0, v6, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v1, v1, -0x1

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->C:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    iput v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    aget-object v1, v0, v9

    aget-object v1, v1, v10

    iget v1, v1, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-eq v1, v2, :cond_0

    const/4 v0, 0x2

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    :goto_0
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v1, v1, 0x1

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->E:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->F:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    iput v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    :goto_1
    return-void

    :cond_0
    aget-object v0, v0, v8

    aget-object v0, v0, v10

    iget v0, v0, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-eq v0, v1, :cond_1

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto :goto_0

    :cond_1
    iput v7, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto :goto_0

    :cond_2
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    if-gtz v0, :cond_6

    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v2

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    add-int/lit8 v0, v0, -0x1

    rem-int/lit8 v0, v0, 0xc

    if-nez v0, :cond_3

    const/16 v0, 0xc

    add-int/lit8 v1, v1, -0x1

    :cond_3
    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v3

    invoke-virtual {v3, v1, v0}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    aget-object v1, v2, v7

    aget-object v1, v1, v7

    iget-object v1, v1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    aget-object v3, v0, v8

    aget-object v3, v3, v7

    iget-object v3, v3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    iput v9, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    :goto_2
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v1, v1, -0x1

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->C:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->D:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    iput v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    add-int/lit8 v0, v6, 0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v1, v1, 0x1

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->E:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    iput v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto/16 :goto_1

    :cond_4
    aget-object v1, v2, v7

    aget-object v1, v1, v7

    iget-object v1, v1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    aget-object v0, v0, v9

    aget-object v0, v0, v7

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    const/4 v0, 0x3

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto :goto_2

    :cond_5
    iput v8, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto :goto_2

    :cond_6
    iget v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    add-int/lit8 v0, v6, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v1, v1, -0x1

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->C:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    iput v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    add-int/lit8 v0, v6, 0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v1, v1, 0x1

    mul-int v2, v0, v1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    mul-int v3, v0, v1

    iget v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->E:I

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/base/calendar/views/WeekView;->a(Landroid/graphics/Canvas;IIII)V

    iput v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto/16 :goto_1
.end method

.method protected onMeasure(II)V
    .locals 3

    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v0

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v1

    const/high16 v2, 0x43840000    # 264.0f

    invoke-static {v1, v2}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v1

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->aa:I

    div-int/2addr v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->setMeasuredDimension(II)V

    return-void
.end method

.method protected onRestoreInstanceState(Landroid/os/Parcelable;)V
    .locals 0

    invoke-super {p0, p1}, Landroid/view/View;->onRestoreInstanceState(Landroid/os/Parcelable;)V

    return-void
.end method

.method protected onSaveInstanceState()Landroid/os/Parcelable;
    .locals 1

    invoke-super {p0}, Landroid/view/View;->onSaveInstanceState()Landroid/os/Parcelable;

    move-result-object v0

    return-object v0
.end method

.method protected onSizeChanged(IIII)V
    .locals 10

    const/4 v1, 0x0

    const v2, 0x3e4ccccd    # 0.2f

    const/high16 v7, 0x40000000    # 2.0f

    iput p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iput p2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    int-to-float v0, v0

    mul-float/2addr v0, v2

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->O:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    int-to-float v0, v0

    mul-float/2addr v0, v2

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->P:I

    int-to-float v0, p1

    const/high16 v2, 0x40e00000    # 7.0f

    div-float/2addr v0, v2

    float-to-int v3, v0

    int-to-float v0, p2

    const/high16 v2, 0x40800000    # 4.0f

    div-float/2addr v0, v2

    float-to-int v0, v0

    int-to-float v0, p2

    const/high16 v2, 0x40a00000    # 5.0f

    div-float/2addr v0, v2

    float-to-int v0, v0

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->getContext()Landroid/content/Context;

    move-result-object v0

    const/high16 v2, 0x42300000    # 44.0f

    invoke-static {v0, v2}, Lcom/waiqin365/base/calendar/d/b;->a(Landroid/content/Context;F)I

    move-result v4

    iput v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->x:I

    int-to-float v0, v3

    const v2, 0x3f99999a    # 1.2f

    mul-float/2addr v0, v2

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Q:I

    int-to-float v0, v3

    const v2, 0x3f4ccccd    # 0.8f

    mul-float/2addr v0, v2

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->R:I

    int-to-float v0, v3

    const v2, 0x3f8ccccd    # 1.1f

    mul-float/2addr v0, v2

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->S:I

    int-to-float v0, v3

    const/high16 v2, 0x40400000    # 3.0f

    div-float/2addr v0, v2

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    mul-int/lit8 v0, v0, 0x2

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->J:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->I:I

    mul-int/lit8 v0, v0, 0x3

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->K:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    int-to-float v0, v0

    const/high16 v2, 0x41b80000    # 23.0f

    div-float/2addr v0, v2

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->T:F

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->T:F

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v0}, Landroid/graphics/Paint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;

    move-result-object v0

    iget v0, v0, Landroid/graphics/Paint$FontMetrics;->bottom:F

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v2}, Landroid/graphics/Paint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;

    move-result-object v2

    iget v2, v2, Landroid/graphics/Paint$FontMetrics;->top:F

    sub-float/2addr v0, v2

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    int-to-float v2, v2

    const/high16 v5, 0x42200000    # 40.0f

    div-float/2addr v2, v5

    iput v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->U:F

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    iget v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->U:F

    invoke-virtual {v2, v5}, Landroid/graphics/Paint;->setTextSize(F)V

    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v2}, Landroid/graphics/Paint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;

    move-result-object v2

    iget v2, v2, Landroid/graphics/Paint$FontMetrics;->bottom:F

    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v5}, Landroid/graphics/Paint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;

    move-result-object v5

    iget v5, v5, Landroid/graphics/Paint$FontMetrics;->top:F

    sub-float/2addr v2, v5

    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v5}, Landroid/graphics/Paint;->ascent()F

    move-result v5

    iget-object v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->a:Landroid/graphics/Paint;

    invoke-virtual {v6}, Landroid/graphics/Paint;->descent()F

    move-result v6

    add-float/2addr v5, v6

    invoke-static {v5}, Ljava/lang/Math;->abs(F)F

    move-result v5

    div-float/2addr v5, v7

    div-float/2addr v2, v7

    add-float/2addr v2, v5

    div-float/2addr v0, v7

    add-float/2addr v0, v2

    div-float/2addr v0, v7

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->V:F

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->V:F

    mul-float/2addr v0, v7

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->W:F

    move v0, v1

    :goto_0
    iget-object v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->e:[[Landroid/graphics/Region;

    array-length v2, v2

    if-ge v0, v2, :cond_1

    move v2, v1

    :goto_1
    iget-object v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->e:[[Landroid/graphics/Region;

    aget-object v5, v5, v0

    array-length v5, v5

    if-ge v2, v5, :cond_0

    new-instance v5, Landroid/graphics/Region;

    invoke-direct {v5}, Landroid/graphics/Region;-><init>()V

    mul-int v6, v2, v3

    mul-int v7, v0, v4

    mul-int v8, v2, v3

    add-int/2addr v8, v3

    mul-int v9, v0, v4

    add-int/2addr v9, v4

    invoke-virtual {v5, v6, v7, v8, v9}, Landroid/graphics/Region;->set(IIII)Z

    iget-object v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->e:[[Landroid/graphics/Region;

    aget-object v6, v6, v0

    aput-object v5, v6, v2

    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 8

    const/4 v7, 0x6

    const/4 v6, 0x4

    const/4 v5, 0x5

    const/4 v0, 0x1

    const/4 v4, 0x0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v1

    packed-switch v1, :pswitch_data_0

    :cond_0
    :goto_0
    invoke-super {p0, p1}, Landroid/view/View;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    :goto_1
    return v0

    :pswitch_0
    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->m:Landroid/widget/Scroller;

    invoke-virtual {v1, v0}, Landroid/widget/Scroller;->forceFinished(Z)V

    const/4 v1, 0x0

    iput-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->u:Lcom/waiqin365/base/calendar/views/r;

    iput-boolean v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ab:Z

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    float-to-int v1, v1

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->L:I

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    float-to-int v1, v1

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->M:I

    goto :goto_1

    :pswitch_1
    iget-boolean v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ab:Z

    if-eqz v0, :cond_1

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->L:I

    int-to-float v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    const/high16 v1, 0x42c80000    # 100.0f

    cmpl-float v0, v0, v1

    if-lez v0, :cond_2

    sget-object v0, Lcom/waiqin365/base/calendar/views/r;->b:Lcom/waiqin365/base/calendar/views/r;

    iput-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->u:Lcom/waiqin365/base/calendar/views/r;

    iput-boolean v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ab:Z

    :cond_1
    :goto_2
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->u:Lcom/waiqin365/base/calendar/views/r;

    sget-object v1, Lcom/waiqin365/base/calendar/views/r;->b:Lcom/waiqin365/base/calendar/views/r;

    if-ne v0, v1, :cond_3

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->L:I

    int-to-float v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    float-to-int v0, v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->N:I

    add-int/2addr v0, v1

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int/2addr v1, v2

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->b(II)V

    goto :goto_0

    :cond_2
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->M:I

    int-to-float v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    sub-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    const/high16 v1, 0x42480000    # 50.0f

    cmpl-float v0, v0, v1

    if-lez v0, :cond_1

    goto :goto_2

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->u:Lcom/waiqin365/base/calendar/views/r;

    sget-object v1, Lcom/waiqin365/base/calendar/views/r;->a:Lcom/waiqin365/base/calendar/views/r;

    if-ne v0, v1, :cond_0

    goto :goto_0

    :pswitch_2
    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->u:Lcom/waiqin365/base/calendar/views/r;

    sget-object v2, Lcom/waiqin365/base/calendar/views/r;->a:Lcom/waiqin365/base/calendar/views/r;

    if-eq v1, v2, :cond_0

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->u:Lcom/waiqin365/base/calendar/views/r;

    sget-object v2, Lcom/waiqin365/base/calendar/views/r;->b:Lcom/waiqin365/base/calendar/views/r;

    if-ne v1, v2, :cond_e

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->L:I

    int-to-float v1, v1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    sub-float/2addr v1, v2

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    const/high16 v2, 0x41c80000    # 25.0f

    cmpl-float v1, v1, v2

    if-lez v1, :cond_d

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->L:I

    int-to-float v1, v1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    cmpl-float v1, v1, v2

    if-lez v1, :cond_8

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->L:I

    int-to-float v1, v1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    sub-float/2addr v1, v2

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->O:I

    int-to-float v2, v2

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_8

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    if-le v1, v5, :cond_5

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v1

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v1

    aget-object v2, v1, v6

    aget-object v2, v2, v7

    iget v2, v2, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget v3, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-eq v2, v3, :cond_6

    const/4 v1, 0x2

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    :goto_3
    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    add-int/lit8 v1, v1, 0x1

    rem-int/lit8 v1, v1, 0xd

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-nez v1, :cond_4

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->p:Lcom/waiqin365/base/calendar/views/p;

    if-eqz v1, :cond_5

    iget-object v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->p:Lcom/waiqin365/base/calendar/views/p;

    invoke-interface {v1, v0}, Lcom/waiqin365/base/calendar/views/p;->b(Z)V

    :cond_5
    :goto_4
    invoke-direct {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->d()V

    invoke-direct {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->e()V

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int/2addr v0, v1

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->H:I

    mul-int/2addr v1, v2

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->b(II)V

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->G:I

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    mul-int/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->N:I

    goto/16 :goto_0

    :cond_6
    aget-object v1, v1, v5

    aget-object v1, v1, v7

    iget v1, v1, Lcom/waiqin365/base/calendar/c/a;->d:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-eq v1, v2, :cond_7

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto :goto_3

    :cond_7
    iput v4, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto :goto_3

    :cond_8
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->L:I

    int-to-float v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_5

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->L:I

    int-to-float v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->O:I

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-ltz v0, :cond_5

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_5

    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v2

    iget v1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    add-int/lit8 v0, v0, -0x1

    rem-int/lit8 v0, v0, 0xc

    if-nez v0, :cond_9

    const/16 v0, 0xc

    add-int/lit8 v1, v1, -0x1

    :cond_9
    invoke-static {}, Lcom/waiqin365/base/calendar/a/a/a;->a()Lcom/waiqin365/base/calendar/a/a/a;

    move-result-object v3

    invoke-virtual {v3, v1, v0}, Lcom/waiqin365/base/calendar/a/a/a;->a(II)[[Lcom/waiqin365/base/calendar/c/a;

    move-result-object v0

    aget-object v1, v2, v4

    aget-object v1, v1, v4

    iget-object v1, v1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    aget-object v3, v0, v5

    aget-object v3, v3, v4

    iget-object v3, v3, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_b

    iput v6, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    :goto_5
    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    add-int/lit8 v0, v0, -0x1

    rem-int/lit8 v0, v0, 0xc

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    if-nez v0, :cond_a

    const/16 v0, 0xc

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iget v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->p:Lcom/waiqin365/base/calendar/views/p;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->p:Lcom/waiqin365/base/calendar/views/p;

    invoke-interface {v0, v4}, Lcom/waiqin365/base/calendar/views/p;->b(Z)V

    goto/16 :goto_4

    :cond_b
    aget-object v1, v2, v4

    aget-object v1, v1, v4

    iget-object v1, v1, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    aget-object v0, v0, v6

    aget-object v0, v0, v4

    iget-object v0, v0, Lcom/waiqin365/base/calendar/c/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c

    const/4 v0, 0x3

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto :goto_5

    :cond_c
    iput v5, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    goto :goto_5

    :cond_d
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    float-to-int v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->a(II)V

    goto/16 :goto_0

    :cond_e
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    float-to-int v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/calendar/views/WeekView;->a(II)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_2
        :pswitch_1
    .end packed-switch
.end method

.method public setCount(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->aa:I

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->requestLayout()V

    return-void
.end method

.method public setDPDecor(Lcom/waiqin365/base/calendar/a/b/a;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->v:Lcom/waiqin365/base/calendar/a/b/a;

    return-void
.end method

.method public setDPMode(Lcom/waiqin365/base/calendar/b/a;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->t:Lcom/waiqin365/base/calendar/b/a;

    return-void
.end method

.method public setDate(II)V
    .locals 1

    const/4 v0, 0x0

    iput p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->A:I

    iput p2, p0, Lcom/waiqin365/base/calendar/views/WeekView;->B:I

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->y:I

    iput v0, p0, Lcom/waiqin365/base/calendar/views/WeekView;->z:I

    invoke-direct {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->d()V

    invoke-direct {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->e()V

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->requestLayout()V

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    return-void
.end method

.method public setDeferredDisplay(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->af:Z

    return-void
.end method

.method public setFestivalDisplay(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ac:Z

    return-void
.end method

.method public setHolidayDisplay(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ad:Z

    return-void
.end method

.method public setLine(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->Z:I

    return-void
.end method

.method public setMarkList(Ljava/util/HashMap;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->l:Ljava/util/HashMap;

    invoke-virtual {p0}, Lcom/waiqin365/base/calendar/views/WeekView;->invalidate()V

    return-void
.end method

.method public setOnDatePickedListener(Lcom/waiqin365/base/calendar/views/e;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->q:Lcom/waiqin365/base/calendar/views/e;

    return-void
.end method

.method public setOnWeekClickListener(Lcom/waiqin365/base/calendar/views/o;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->r:Lcom/waiqin365/base/calendar/views/o;

    return-void
.end method

.method public setOnWeekViewChangeListener(Lcom/waiqin365/base/calendar/views/p;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->p:Lcom/waiqin365/base/calendar/views/p;

    return-void
.end method

.method public setSelectedDate(Lcom/waiqin365/base/calendar/c/a;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->w:Lcom/waiqin365/base/calendar/c/a;

    return-void
.end method

.method public setTodayDisplay(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/calendar/views/WeekView;->ae:Z

    return-void
.end method
